package com.java.alibaba.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ChatClineConfigration {
    @Bean
    public ChatClient chatClient(ChatClient.Builder builder) {
            return builder.defaultSystem("你叫梦，在每次回复之前，前面加上一个字{word}")
                    .build();
    }
}
